﻿<?PHP 
// 鞋子
$vecTagsAll=array(
"类别",array('平底鞋',0,'高跟鞋',0, '帆布鞋',0,'单鞋',0,'靴子',0,'拖鞋',0,'凉鞋',0),
"鞋型",array('高跟',0,'坡跟',0,'防水台',0,'鱼嘴',0,'圆头',0,'高帮',0,'系带',0,'浅口',0,'平底',0),
"风格元素",array('vivi同款',0,'欧美',0,'英伦',0,'罗马',0,'波点',0,'豹纹',0,'镂空',0,'流苏',0)
);
$k=0; 

if (!isset($cl_catelog)) $cl_catelog = "";
if (!isset($cl_tag)) $cl_tag = "";
if (!isset($cl_param)) $cl_param = "";
?>
    <!-----二级 三级  开始------->
	<div class="goodsTop catalogTop">
        <div class="gsT_r rgary">
        <?PHP 
			for($k = 0; $k < count($vecTagsAll); $k+=2)
			{
		?>
            <div class="gs_key">
                <h2 class="f14"><?PHP echo $vecTagsAll[$k]; ?>：</h2>
                <ul>
                	<?PHP 
					$vecTags=$vecTagsAll[$k+1];
					for ($i=0; $i < count($vecTags); $i+=2)
					{
						$tmp = $vecTags[$i+1]==1 ? "class='hl'" : "";
						$str="<li $tmp><a title='".$vecTags[$i]."' href='../tag/?cl=".urlencode($cl_catelog)."&tag=".urlencode($vecTags[$i]).$cl_param."'>";
						if ($cl_tag==$vecTags[$i])
							$str.="<font color='#FF6600'>$vecTags[$i]</font>";
						else
							$str.=$vecTags[$i];
						$str.="</a></li>";
						echo $str;
					}
					?>
                </ul>
            </div>
            <?PHP } ?>
            
    	</div>           
	</div>
         <!----- 二级 三级 结束------->